package com.yuexunit.finance.member.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
*@version 创建时间：2017年2月21日 上午11:15:06
*@author wenwenlong
*类说明 佣金分配比例表
*/

@Entity
@Table(name = "COMMISSION_SCALE_TABLE")
public class CommissionScaleTableEntity {
	/** 分配ID */
	@Id
	@GeneratedValue
	@Column(name = "SCALE_ID")
	private Long scaleId;
	
	/** 企业信息ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;
	
	/** 名称 */
	@Column(name = "NAME")
	private String name;
	
	/** 账户ID */
	@Column(name = "ACCOUNT_ID")
	private Long accountId;
	
	/** 比例 */
	@Column(name = "RATE")
	private BigDecimal rate;
	
	/** 类型 0-个人,1-部门 */
	@Column(name = "TYPE")
	private Integer type;
	
	/** 关联人类型  */
	@Column(name = "PERSON_TYPE")
	private String personType;
	
	/** 附件信息  */
	@Column(name = "FILE_UUIDS")
	private String fileUuids;
	
	/** 是否有效  */
	@Column(name = "ENABLED")
	private Boolean enable;
	
	/** 创建人  */
	@Column(name = "OPERATOR")
	private String operator;
	
	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	/** 更新时间 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public String getPersonType() {
		return personType;
	}

	public void setPersonType(String personType) {
		this.personType = personType;
	}

	public String getFileUuids() {
		return fileUuids;
	}

	public void setFileUuids(String fileUuids) {
		this.fileUuids = fileUuids;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Long getScaleId() {
		return scaleId;
	}

	public void setScaleId(Long scaleId) {
		this.scaleId = scaleId;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}
}
